"""
数据定义的类
"""


class Record:
    def __init__(self, date, order_id, money, province):
        """
        :param date: 订单日期
        :param order_id: 订单id
        :param money: 订单金额
        :param province: 消费省份
        """
        self.date = date
        self.order_id = order_id
        self.money = money
        self.province = province

    def __str__(self):
        return f"{self.date} {self.order_id} {self.money} {self.province}"
